package study.strategy;

public class ModelDuck extends Duck {
    @Override
    public void display() {
        System.out.println("I am a model duck");

    }

    public ModelDuck(FlyBehavior flyBehavior) {
        super.setFlyBehavior(flyBehavior);
    }
}
